﻿using System;
using Microsoft.Practices.Unity;
using NUnit.Framework;
using ReactiveGraph.Core.Configuration.Containers;

namespace ReactiveGraph.Core.Configuration.Tests.Containers
{
    [TestFixture]
    public class UnityCoreExtensionTests : ContainerTestsBase
    {
        private UnityContainer _container;

        [SetUp]
        public void Setup()
        {
            _container = new UnityContainer();
            _container.AddExtension(new UnityCoreExtension());
        }

        public override T Resolve<T>()
        {
            return _container.Resolve<T>();
        }
    }
}
